package com.bw.task;


import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class ScheduledService {

    @Scheduled(cron = "0 0/10 * * * *")
    public void  test(){
        System.out.println(Thread.currentThread().getName());
    }


}
